package com.goodmr.passport.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 帐号密码属性
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
@Configuration
@ConfigurationProperties(prefix = "account.password")
@Data
public class PasswordProperty {

    /**
     * 密码最小长度
     */
    private int minLength;

    /**
     * 密码最大长度
     */
    private int maxLength;
}
